<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本属性_文本修饰线</title>
    <style>
        p{
            text-decoration: underline;
        }
        div{
            text-decoration: line-through;
        }
        span{
            text-decoration: overline;
        }
        a{
            text-decoration: none;
        }
        .p1{
            text-decoration: underline line-through overline;
        }
    </style>
</head>
<body>
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Saepe reiciendis nostrum voluptatibus exercitationem doloribus dolore totam optio ducimus, eos dolores soluta dignissimos mollitia vero repudiandae, corporis molestiae a consectetur nesciunt.</p>
    <div>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Vitae perspiciatis animi amet eos, minima sequi fuga nesciunt id eius cum deserunt modi quidem sapiente vero consectetur eum laboriosam tenetur minus?</div>
    <span>Lorem ipsum dolor sit amet consectetur adipisicing elit. Impedit odio ratione accusamus sit, fugit eos voluptates accusantium eum aperiam, necessitatibus saepe repellat nisi assumenda sed inventore, vel dolore officiis soluta!</span>
    <a href="https://www.baidu.com">百度</a>
    <p class="p1">Lorem ipsum dolor sit amet consectetur adipisicing elit. Numquam nisi qui vero doloremque, nam quibusdam earum accusamus veniam! Aliquam quaerat adipisci minus culpa aspernatur id fugit. Eius adipisci temporibus nam!</p>
</body>
</html>